<!DOCTYPE html>
<html lang="en">
<head>
  <title>Modbus simulator.</title>
  <link rel="icon" type="image/x-icon" href="/favicon.ico">
  <link rel="apple-touch-icon" href="/apple60.png">
  <link rel="apple-touch-icon" sizes="76x76" href="/apple76.png">
  <link rel="apple-touch-icon" sizes="120x120" href="/apple120.png">
  <link rel="apple-touch-icon" sizes="152x152" href="/apple152.png">
  <link rel="stylesheet" type="text/css" href="/pymodbus.css">
  <style rel="stylesheet" type="text/css" media="screen">
    .sidenav {
      height: 100%;
      width: 160px;
      position: fixed;
      z-index: 1;
      top: 0;
      left: 0;
      background-color: gray;
      overflow-x: hidden;
      padding-top: 5px;
    }
    .main {
      margin-left: 160px;
      top: 0;
      left: 0;
      font-size: 28px;
      padding: 0px 0px;
      width: 100% - 160px;
      height: 100%;
    }
    .sidenav legend {
      color: white
    }
  </style>
</head>
<body>
  <div class="sidenav">
    <a href="welcome.html" target="editor">Welcome</a>
    <form action="/api" method="get" target="editor">
      <fieldset>
        <legend>Refresh rate</legend>
        <input type="number" style="width: 60%;" value=0 name="refresh">
      </fieldset>
      <fieldset>
        <legend>View</legend>
        <input type="submit" formaction="/api/registers" value="Registers" name="submit" /><br>
        <input type="submit" formaction="/api/calls" value="Calls" name="submit" /><br>
        <input type="submit" formaction="/api/log" value="Log" name="submit" /><br>
        <input type="submit" formaction="/api/server" value="Server" name="submit" />
      </fieldset>
    </form>
    <p>Powered by:
      <a href="https://github.com/pymodbus-dev/pymodbus"><b>pymodbus</b></a>  an open source project, patches are welcome.
    </p>
  </div>
  <div class="main">
    <iframe name="editor" title="Simulator" src="welcome.html"/>
  </div>
</body>
</html>
